Dynomotion

Group: DynoMotion Message: 7349 From: tapiolarikka Date: 4/28/2013
Subject: Mach3 external reset similas to external cycle start?
Hi!

I noticed that in plugin config there is a possibility to specify a external cycle start bit/button.

Can this be handled in the init thread?

If Yes then is there a way to do the Reset button the same way?
I tried the OEMTrigger/HotKey but that doesn't work since I need to read this from the state of the EStop Bit.
My control voltage circuit is set up so that releasing the estop switch does not turn the voltage on.
Control voltage is activated with separate button so I think it is possible/safe to do this if possible.

Rgds,
Tapio
Group: DynoMotion Message: 7355 From: Tom Kerekes Date: 4/28/2013
Subject: Re: Mach3 external reset similas to external cycle start?
Hi Tapio,

I don't understand why doesn't the external Trigger work for you?

Regards
TK

Group: DynoMotion Message: 7372 From: tapiolarikka Date: 4/29/2013
Subject: Re: Mach3 external reset similas to external cycle start?
Mach did get upset having EStop and OEM trigger tied to same pin.
I think I have to do this in the WatchEnable loop:

Read bit-> if Estop cleared, wait ~0.5sec, send message to Mach saying reset is pressed.

Open quetion for me is How?

Rgds,
Tapio

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Tapio,
> I don't understand why doesn't the external Trigger work for you?
>
> Regards
> TK
>
>
> ________________________________
> From: tapiolarikka <tapio.larikka@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, April 28, 2013 11:04 AM
> Subject: [DynoMotion] Mach3 external reset similas to external cycle start?
>
>
>
>  
> Hi!
>
> I noticed that in plugin config there is a possibility to specify a external cycle start bit/button.
>
> Can this be handled in the init thread?
>
> If Yes then is there a way to do the Reset button the same way?
> I tried the OEMTrigger/HotKey but that doesn't work since I need to read this from the state of the EStop Bit.
> My control voltage circuit is set up so that releasing the estop switch does not turn the voltage on.
> Control voltage is activated with separate button so I think it is possible/safe to do this if possible.
>
> Rgds,
> Tapio
>
Group: DynoMotion Message: 7382 From: Tom Kerekes Date: 4/29/2013
Subject: Re: Mach3 external reset similas to external cycle start?
Attachments :
Hi Tapio,

It still isn't completely clear to me what you are trying to do.  But attached is a program to watch an input, detect a change, delay, set another virtual bit.  maybe that will do what you desire.

To test I used the KFLOP Led's

HTH
Regards
TK